package com.woniu.bank.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 联保小组的视图类
 * @author 晨星
 * @date 2023/01/04/14:56
 */
@Data
@ApiModel(description = "返回的联保小组信息")
public class GroupVO {

    @ApiModelProperty(value = "联保小组ID")
    private Integer groupId;

    @ApiModelProperty(value = "联保小组编号")
    private String groupNo;

    @ApiModelProperty(value = "联保小组名称")
    private String groupName;

    @ApiModelProperty(value = "联保小组总额度")
    private Integer groupLimit;

    @ApiModelProperty(value = "联保组长客户名称")
    private String groupLeaderName;

    @ApiModelProperty(value = "申请日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date registrationDate;

    @ApiModelProperty(value = "管户客户经理")
    private String accountManager;

    @ApiModelProperty(value = "管户网点")
    private String accountNetwork;

    @ApiModelProperty(value = "审批状态")
    private String approvalStatus;

}
